package com.wuseguang.springcloud.service.impl;

import com.wuseguang.springcloud.entity.*;
import com.wuseguang.springcloud.service.DeptClientService;
import com.wuseguang.springcloud.service.JurisdictionClientService;
import com.wuseguang.springcloud.util.Result;
import feign.hystrix.FallbackFactory;
import org.springframework.stereotype.Component;

@Component
public class JurisdictionClientFallbackFactory implements FallbackFactory<JurisdictionClientService> {


    @Override
    public JurisdictionClientService create(Throwable throwable) {

        return new JurisdictionClientService() {

            @Override
            public Result findRolePermissions(Integer indexNo, Integer rows) {
                return null;
            }

            @Override
            public Result findRoleFunction(Integer roleId) {
                return null;
            }

            @Override
            public Result addAndDeleteRoleJurisdiction(Integer groupingId, Integer[] jurisdictionId) {
                return null;
            }

            @Override
            public Result updateRoleName(Integer roleId, String name, Integer schoolId) {
                return null;
            }

            @Override
            public Result deleteRole(Integer roleId, Integer schoolId) {
                return null;
            }

            @Override
            public Result addRole(Roles roles) {
                return null;
            }

            @Override
            public Result findRoleDataPermissions(Integer roleId) {
                return null;
            }

            @Override
            public Result addAndUpdateRoleDataPermissions(Integer roleId, Integer dpid) {
                return null;
            }

            @Override
            public Result findGrouping() {
                return null;
            }

            @Override
            public Result updateGrouping(Grouping grouping) {
                return null;
            }

            @Override
            public Result deleteGrouping(Integer id) {
                return null;
            }

            @Override
            public Result findStudentAttend(String classId, String dateTime) {
                return null;
            }

            @Override
            public Result queryAttendAll(String attendGroupId, String dateTime, String classId) {
                return null;
            }

            @Override
            public Result findAttendByStudentId(String id, String dateTime) {
                return null;
            }

            @Override
            public Result queryAttendByStudentId(String id, String dateTime) {
                return null;
            }

            @Override
            public Result findAttendanceNotice(String[] classId, Integer indexNo, Integer rows) {
                return null;
            }

            @Override
            public Result findClassNotice(String[] classId, Integer indexNo, Integer rows) {
                return null;
            }

            @Override
            public Result findStudentAttendanceNotice(Integer studentId) {
                return null;
            }

            @Override
            public Result findStudentNotice(Integer studentId) {
                return null;
            }


            @Override
            public Result findStudentInAndOutByStudentId(Integer id) {
                return null;
            }

            @Override
            public Result findUserTemplateClick(Integer type) {
                return null;
            }

            @Override
            public Result addUserTemplate(Integer[] id, Integer type) {
                return null;
            }

            @Override
            public Result queryFunctionFindAll(Integer schoolId) {
                return null;
            }

            @Override
            public Result queryTeacherInformationById(Integer id) {
                return null;
            }

            @Override
            public Result updateTeacherChangePasswordById(Integer id, String password) {
                return null;
            }

            @Override
            public Result queryParentInformationById(Integer id) {
                return null;
            }

            @Override
            public Result updateParentChangePasswordById(Integer id, String password, Integer type) {
                return null;
            }

            @Override
            public Result updateTeacherHeadPortrait(Integer id, String headPortrait) {
                return null;
            }

            @Override
            public Result updateStudentHeadPortrait(Integer id, String headPortrait) {
                return null;
            }

            @Override
            public Result queryAppletFunctions() {
                return null;
            }

            @Override
            public Result queryAppletStatisticsList() {
                return null;
            }

            @Override
            public Result queryTeacherPhoneBook() {
                return null;
            }

            @Override
            public Result updateTeacherPhoneBook(String id, Integer state) {
                return null;
            }

            @Override
            public Result queryParentPhoneBook(Integer classId, Integer indexNo, Integer rows) {
                return null;
            }

            @Override
            public Result queryTeacherPhoneBookBystudentId(Integer studentId) {
                return null;
            }

            @Override
            public Result queryStudentNoticeList(Integer studentId, Integer indexNo, Integer rows) {
                return null;
            }

            @Override
            public Result queryStudentPictureList(Integer studentId, Integer indexNo, Integer rows) {
                return null;
            }

            @Override
            public Result queryStudentVideoList(Integer studentId, Integer indexNo, Integer rows) {
                return null;
            }

            @Override
            public Result findPersonalPerformance(Integer studentId, Integer findType, String startTime, String endTime, Integer teacherId) {
                return null;
            }

            @Override
            public Result findClassTeacher(Integer classId) {
                return null;
            }

            @Override
            public Result findDepartmentTeacher() {
                return null;
            }

            @Override
            public Result queryParentActivitiyList(Integer indexNo, Integer rows) {
                return null;
            }

            @Override
            public Result addParentActivitiy(Integer classId, String stime, String etime, String name, String state) {
                return null;
            }

            @Override
            public Result updateParentActivitiy(Integer id, Integer classId, String stime, String etime, String name) {
                return null;
            }

            @Override
            public Result updateParentActivitiyStart(Integer id, Integer start, Integer classId) {
                return null;
            }

            @Override
            public Result delParentActivitiy(Integer id) {
                return null;
            }

            @Override
            public Result queryActivitiyArrived(Integer id, Integer type) {
                return null;
            }

            @Override
            public Result queryActivitiyByStudentId(Integer studentId) {
                return null;
            }

            @Override
            public Result addSigned(Integer id, String time, Integer studentId) {
                return null;
            }

            @Override
            public Result deleteUserTemplate(String[] templateId, Integer type) {
                return null;
            }

            @Override
            public Result queryStudentAttendCount(String attendGroupId, String dateTime, String classId) {
                return null;
            }

            @Override
            public Result attendGroupClass(String attendGroupId) {
                return null;
            }

            @Override
            public Result findSignedUpActivity(Integer studentId, Integer type, Integer indexNo, Integer rows) {
                return null;
            }

            @Override
            public Result activitySignUpOrCancel(String studentId, Integer id, Integer type) {
                return null;
            }

            @Override
            public Result queryClassSize() {
                return null;
            }

            @Override
            public Result queryClassStanza(Integer classId, String time) {
                return null;
            }

            @Override
            public Result queryClassStudent(Integer classId, String time, Integer id, String name) {
                return null;
            }

            @Override
            public Result batchAddClassAttend(String list, Integer id) {
                return null;
            }

            @Override
            public Result querySchoolStanza(String time) {
                return null;
            }

            @Override
            public Result queryClassStanzaList(Integer classId, String time) {
                return null;
            }

            @Override
            public Result queryClassStanzaCount(Integer id, String time) {
                return null;
            }

            @Override
            public Result queryStanzaStudentId(Integer studentId, String time) {
                return null;
            }

            @Override
            public Result queryStanzaStudentIdCount(Integer studentId, Integer type, String startTime, String endTime) {
                return null;
            }

            @Override
            public Result queryManageClassByTeacherId() {
                return null;
            }

            @Override
            public Result updateManageClassId(Integer classId, Integer state) {
                return null;
            }

            @Override
            public Result findParentQuestionnaire(Integer studentId, Integer indexNo, Integer rows) {
                return null;
            }

            @Override
            public Result addQuestionnaireUsersAnswer(QuestionnaireUsersAnswer questionnaireUsersAnswer) {
                return null;
            }

            @Override
            public Result findActivityDetails(Integer id, Integer studentId) {
                return null;
            }

            @Override
            public Result addPrize(Prize prize) {
                return null;
            }

            @Override
            public Result findTeacherPrize(Integer indexNo, Integer rows) {
                return null;
            }

            @Override
            public Result findTeacherPrizeRecord(Integer indexNo, Integer rows) {
                return null;
            }

            @Override
            public Result updatePrizeRecordState(Integer recordId, Integer state) {
                return null;
            }

            @Override
            public Result dismountPrize(Integer id) {
                return null;
            }

            @Override
            public Result viewRecords(Integer[] recordId) {
                return null;
            }

            @Override
            public Result addMoraleEducation(MeMoralEducation meMoralEducation) {
                return null;
            }

            @Override
            public Result findMoraleEducation() {
                return null;
            }

            @Override
            public Result addMeMoralEducationRecord(MeMoralEducationRecord meMoralEducationRecord) {
                return null;
            }

            @Override
            public Result findMeMoralEducationRecord(Integer findType, String startTime, String endTime, String classId, Integer indexNo, Integer rows) {
                return null;
            }

            @Override
            public Result addOiCountdown(OiCountdown oiCountdown) {
                return null;
            }

            @Override
            public Result findClassOiCountdown(Integer classId, Integer indexNo, Integer rows) {
                return null;
            }

            @Override
            public Result deleteOiCountdown(Integer id) {
                return null;
            }

            @Override
            public Result OiCountdownTopping(Integer id, Integer classId) {
                return null;
            }

            @Override
            public Result findStudentTemperature(String time) {
                return null;
            }

            @Override
            public Result oiCountdownCancelTopping(Integer id) {
                return null;
            }

            @Override
            public Result findMeMoralEducationLabel() {
                return null;
            }

            @Override
            public Result addMeMoralEducationLabel(MeMoralEducationLabel meMoralEducationLabel) {
                return null;
            }

            @Override
            public Result deleteMeMoralEducationLabel(Integer id) {
                return null;
            }

            @Override
            public Result deleteMeMoralEducationRecord(Integer id) {
                return null;
            }

            @Override
            public Result deleteMoraleEducation(Integer id) {
                return null;
            }

        };
    }
}
